

const Token = `eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1Ijo4Nn0.5rgc1eK8Z7Fv1p2uHrmmTXYk6n2kITxV_1nQWGimMh8`

const axios = require('axios');

const instance = axios.create({
    baseURL: 'http://hellorisapi.gsudev.cn',
    timeout: 1000,
    headers: {
        'Token': Token,
        'Accept': 'application/json',
        'Accept-Encoding': 'gzip, deflate', 
        'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
        'Connection': 'keep-alive',
        'Content-Type': 'application/json',
        'Origin': 'http://helloris.gsudev.cn',
        'Referer': 'http://helloris.gsudev.cn/',
        'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0'
    },
});

module.exports = {
    post: instance.post
}